package com.gnerv.battle.boot.project.guard.business;

import com.gnerv.battle.boot.common.base.model.RestResult;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectNodeCreateDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectNodeDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectNodeUpdateDTO;

import java.util.List;

/**
 * @author ligen
 */
public interface MonitorProjectNodeBusiness {

    RestResult<Void> create(MonitorProjectNodeCreateDTO monitorProjectNodeCreateDTO);

    RestResult<Void> deleteByUkId(String ukId);

    RestResult<Void> updateByUkId(MonitorProjectNodeUpdateDTO monitorProjectNodeUpdateDTO);

    RestResult<MonitorProjectNodeDTO> selectByUkId(String ukId);

    RestResult<List<MonitorProjectNodeDTO>> listByName(String name, Integer page, Integer size);
}
